package com.nannybear.Communication;

/**
 * @brief Protocol for the communication between the tablet and the robot.
 */
public class Protocol {
    /********** DECLARATIONS **********/
    /**
     * Information send from NannyBear to NannyBear_App
     */
    // Value of the temperature
    public static final int TEMP_VALUE = 0;

    // Value of the humidity
    public static final int HUM_VALUE = 1;

    // State of the light
    public static final int LIGHT_STATE = 2;

    // State of the baby
    public static final int BABY_STATE = 3;

    // Temperature threshold
    public static final int TEMP_THRESHOLD = 4;

    // Humidity threshold
    public static final int HUM_THRESHOLD = 5;


    /**
     * Information send from NannyBear_App to NannyBear
     */
    // New threshold of the light (between dark and dim)
    public static final int LIGHT_THRESHOLD_DARK_DIM = 6;

    // New threshold of the light (between dim and bright)
    public static final int LIGHT_THRESHOLD_DIM_BRIGHT = 7;

    // New threshold of the sound
    public static final int SOUND_THRESHOLD = 8;

    /************ METHODS ************/
    /**
     * @brief constructor
     */
    private Protocol(){
    }
}
